From c8033d60b888ead55981ce4d306a1dcf32c7924d Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 27 Jun 2010 18:28:16 +0000 Subject: [PATCH] Tweak version check for 1.4.0 --- gui/preferences.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/preferences.cpp b/gui/preferences.cpp index 5366420e9..3c57f448d 100644 --- a/gui/preferences.cpp +++ b/gui/preferences.cpp @@ -41,6 +41,9 @@ Preferences::Preferences(QWidget* parent, QList& formatList, ui_.startupCheck->setChecked(bd_.startupVersionCheck); ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics); ui_.ignoreVersionMismatchCheck->setChecked(bd_.ignoreVersionMismatch); + // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1. + if (VERSION == "1.4.1") + bd_.ignoreVersionMismatch = false; connect (ui_.buttonBox, SIGNAL(accepted()), this, SLOT(acceptClicked())); connect (ui_.buttonBox, SIGNAL(rejected()), this, SLOT(rejectClicked())); -- 2.30.2